/**
 * 
 */
package decorator;

/**
 * @author sz
 *
 * create time：2012-5-24
 */

public abstract class Decorator extends Component{

	protected Component component;

	public void setComponent(Component component) {
		this.component = component;
	}
	
	 public void Operation(){
		 
		 if(component != null){
			 
			 component.Operation(); 
		 }
	 }
}